//
//  ApiMacroFile.h
//  Receipt
//
//  Created by admin on 2019/3/15.
//  Copyright © 2019 admin. All rights reserved.
//

#ifndef ApiMacroFile_h
#define ApiMacroFile_h

 //-------------------baseUrl-------------------------
//#ifdef DEBUG
//#define kBaseURL @"http://101.132.128.76:8020/"
//#define kH5BaseURL @"http://47.102.48.39:8020/"
//#else   139.224.111.168
//#define kBaseURL @"http://47.102.48.39:8037/"
//#define kH5BaseURL @"http://47.102.48.39:8020/"
#define kBaseURL @"http://139.224.111.168:8037/"
#define kH5BaseURL @"http://47.102.48.39:8020/"
//#endif


#define sendVerifyCode_api @"api/Relation/SendMobileVerifyCode" // 发送验证码
#define login_api @"api/Relation/LoginAsync" // 登录
#define register_api @"api/Relation/AddAsync"   // 注册
#define homeInitAsync_api @"api/Index/InitAsync"        // 首页
#define homeGoodsRecommendAsync_api @"api/Index/GoodsRecommendAsync" // 首页
#define homeCategoryList_api @"api/Index/CategoryList"     // 首页点击全部款式
#define queryList_api @"api/Style_Library/GetLibraryListAsync" // 查询款式列表信息
#define categoryList_api @"api/Index/CategoryList"     // 分类页面
#define getLibraryDetail_api @"/api/Style_Library/GetLibraryDetailAsync"    // 款式详情
#define getDetail_api @"api/Style_Library/GetDetailAsync" // 款式详情 1.61版本后使用此方法
#define getXianhuo_api @"api/Style_Library/GetStockListAsync"   // 获取现货的接口
#define checkUserIsCollection_api @"api/Style_Library/CheckIsCollectionAsync"//监测用户是否收藏该商品
#define similarGoods_api @"api/Style_Library/SimilarGoodsRecommendAsync"   // 相似商品推荐
#define getVipLevel_api @"api/Relation/GetVipLevelAsync"   // 获取批发商身份信息(会员状态、账号状态、是否新老用户)

#define addShopCart_api @"api/Wholesaler_ShoppingCart/AddAsync" //加入购物车
#define getShopBarCode_api @"api/Wholesaler_ShoppingCart/GetListByStockBarCodeAsync" // 查询商品条码
#define getShopCartList_api @"api/Wholesaler_ShoppingCart/GetListAsync" //购物车数据查询
#define deleteShopcart_api @"api/Wholesaler_ShoppingCart/DeleteAsync"   // 删除购物车商品或删除裸石
#define goldPrice_api @"api/GoldPrice/List"     // 行情中心接口
#define getNoteHintStatus_api @"api/GoldPrice/GetSendGoldPriceMessageStateAsync" // 行情中心获取短信开关状态
#define setNoteHintStatus_api @"api/GoldPrice/PostSetGoldPriceMessageStateAsync" // 行情中心设置短信开关状态

#define setCollection_api @"api/Style_Library/CollectionStyleLibraryAsync"  // 收藏商品
#define setCancelCollection_api @"api/Style_Library/CancelCollectionStyleLibraryAsync"  //取消收藏
#define getCollectionOrFootList_api @"api/Style_Library/GetCollectionOrFootMackAsync"  // 获取用户足迹或收藏列表
#define getAddressList_api @"api/Wholesaler_ReceiveAddress/ListAsync"   // 获取收货地址
#define addAddress_api @"api/Wholesaler_ReceiveAddress/AddAsync"    // 添加收货地址
#define setDefaultAddress_api @"api/Wholesaler_ReceiveAddress/SetAutoAsync" // 设为默认的收货地址
#define updateAddress_api @"api/Wholesaler_ReceiveAddress/UpdateAsync"  // 修改收货地址
#define deleteAddress_api @"api/Wholesaler_ReceiveAddress/DeleteAsync"  // 删除收货地址
#define getQualityCheck_api @"api/Plus_SysCertPrice/GetCertList"   // 获取质检证书
#define getCouponList_api @"api/Op_Coupon/List" // 优惠券
#define getCouponGoodsBarCode_api @"api/Op_Coupon/CouponCounterparts"   // 获取优惠券的goodsBarCode
#define exchangeCoupon_api @"api/Op_Coupon/ExchangeAsync"   // 兑换优惠券
#define commitOrder_api @"api/Od_Batch/AddAsync"       // 提交订单
#define recommendedDiamond_api @"api/Od_Batch/RecommendDiamondAsync"  // 提交订单时推荐裸石
#define orderList_api @"api/Od_Order/ListAsync"     // 订单列表
#define orderDetail_api @"api/Od_Order/DetailAsync" // 订单详情
#define bankCardList_api @"api/Pay_BankCardManage/ListAsync"    // 银行卡列表
#define cancleOrder_api @"api/Od_Order/CancelAsync" // 取消订单
#define deleteOrder_api @"api/Od_Order/DeleteAsync" //删除订单
#define lookOrderProgress_api @"api/Od_Order/LogisticsListAsync"    ///订单进度
#define logisticsInfo_api @"api/Od_Order/LogisticsListAsync"    // 物流列表信息
#define myPageCount_api @"api/Od_Order/MyPageCountAsync"    // 我的页面数字信息
#define notifyOrHelpList_api @"api/Op_Notice/ListAsync"     // 公告或帮助
#define notifyOrHelpDetail_api @"api/Op_Notice/DetailAsync" // 公告或帮助详情
#define ad_api @"api/Op_AD/ADAsync"     // 启动页之后的广告
#define updateApp_api @"api/Op_Version_Manage_IOS/GetNewVersionInfo"    // 更新提示
#define shopInfo_api @"api/Relation/GetShopInfoAsync"   // 店铺管理页面
#define setShopGoods_api @"api/Relation/UpdateShopGoodsAsync"   // 商品管理设置
#define setShopRate_api @"api/Relation/UpdateShopRateAsync" // 设置商城倍率
#define setShopInfoUpload_api @"api/Relation/UpdateShopInfoAsync"   // 个人信息商城设置上传
#define uploadShopImg_api @"api/Relation/UpdateShopImgAsync"     //个人信息商城门店实景图
#define getShopStyleTemplateList_api @"api/Relation/GetShopStyleTemplateList" // 模板
#define plusOrderList_api @"api/Od_PlusShop_Sheet/PSSListAsync"     // 店铺订单列表
#define plusCancelOrder_api @"api/Od_PlusShop_Sheet/PSSCancelAsync"     //店铺取消订单
#define plusOrderDetail_api @"api/Od_PlusShop_Sheet/PSSDetailAsync"     // 店铺订单详情
#define plusConfirmPaid_api @"api/Od_PlusShop_Sheet/PSSConfirmPaidAsync"  // 确认已付
#define alipay_api @"api/Relation_PayMentRecord/AddAsync"   // 支付接口
#define getPayInfo_api @"api/Od_Order/GetPayInfoAsync"  // 获取支付信息
#define getInlayPriceRule @"api/Plus_SysInlayPrice/GetInlayPriceRuleListAsync"   // 获取镶嵌费规则
///更换收货地址
#define replaceReceiveAddress_api @"api/Od_Order/ReplaceReceiveAddressAsync"
///更换裸石
#define replaceDiamonds_api @"api/Od_Order/ReplaceDiamondsAsync"
///获取海报信息
#define getShopPoster_api @"api/Relation/GetShopPosterTemplateListAsync"
///修改备注
#define updateRemark_api @"api/Od_Order/UpdateReMarkAsync"
///改手寸
#define updateHandSize_api @"api/Od_Order/UpdateHandSizeAsync"
///获取订单里面可镶嵌列表数据
#define getOrderInlayList_api @"api/Od_Order/GetOrderInlayListAsync"
///订单详情里面镶嵌完成接口
#define orderDetailInlayFinish_api @"api/Od_Order/InlayAsync"
/// 上传支付凭证图片
#define uploadPaymentVouchers_api @"api/Od_Order/UploadPaymentVouchersAsync"

/// 获取款式定制列表
#define getCustomList_api @"api/Style_Library_Customized/GetCustomizationStockListAsync"
///购物车中修改购买数量
#define shopCartUpdateBuyCount_api @"api/Wholesaler_ShoppingCart/UpdateInfoByIdAsync"
///获取批发商身份信息
#define getUserInfo_api @"api/Relation/GetVipLevelAsync"
///修改信息
#define userInfoUpdate_api @"api/Relation/Update"
///获取企业信息
#define getCompanyInfo_api @"api/Wholesaler_Company/GetByRelationIdAsync"
///设置企业信息
#define setCompanyInfo_api @"api/Wholesaler_Company/AddAsync"
///获取钻石国际报价
#define getDiamondsQuotation_api @"api/Style_Library/GetDiamondsQuotation"
///获取工厂地址
#define getFactoryAddress_api @"api/System_FactoryAddress/ListAsync"
/// 添加工厂地址
#define addFactoryAddress_api @"api/System_FactoryAddress/AddAsync"
/// 设置默认工厂地址
#define setAutoFactoryAddress_api @"api/System_FactoryAddress/SetAutoAsync"
/// 修改工厂地址
#define updateFactoryAddress_api @"api/System_FactoryAddress/UpdateAsync"
/// 删除工厂地址
#define deleteFactoryAddress_api @"api/System_FactoryAddress/DeleteAsync"
/// 获取款式定制筛选条件
#define getCustomizedFilter_api @"api/Style_Library/GetCustomizedFilter"
/// 提交定制
#define addCustomData_api @"api/Style_Library/AddLibraryProposalAsync"
/// 取消镶嵌
#define cancelInlay_api @"api/Od_Order/InlayClearAsync"
/// 进度备注
#define addReMark_api @"api/Od_Order/AddReMarkAsync"
/// 修改证书
#define updateCert_api @"api/Od_Order/UpdateCertAsync"

///提交来图定制
#define commitCustomized_api @"api/Wholesaler_Customized/AddAsync"

/// 人工估价
#define submitInformation_api @"api/Reclaim_Information/SubmitInformationAsync"
/// 自动估价
#define autoPrice_api @"api/Reclaim_Information/AutomaticPriceAsync"
/// 自动转人工 钻石回收-自动估价变免费人工估价
#define recyclingChangingLabor_api @"api/Reclaim_Information/ChangingLaborAsync"
/// 钻石回收-进一步完善信息
#define recyclingPerfectInfo_api @"api/Reclaim_Information/ImproveInformationAsync"
/// 估价详情
#define reclaimInformation_api @"api/Reclaim_Information/InfoAsync"
/// 钻石回收-删除估价记录
#define recyclingDeleteRecord_api @"api/Reclaim_Information/DeleteAsync"

/// 钻石回收-回收详情-寄送操作-选择门店信息/上门/到店日历信息
#define sendingInformation_api @"api/Reclaim_Information/SendingInformation"

/// 回收进度 钻石回收-回收详情-进度记录
#define recyclingRecord_api @"api/Reclaim_Information/OperateRecordInfoAsync"

/// 钻石回收寄送
#define recyclingSend_api @"api/Reclaim_Information/SendAsync"

/// 回收首页 钻石回收-首页-我的估价/在售/购买汇总统计
#define recycling_home_top_api @"api/Reclaim_Information_Goods/SummaryAsync"

/// 回收首页 钻石回收-首页-商品列表
#define recycling_home_list_api @"api/Reclaim_Information_Goods/List"

/// 钻石回收-估价中列表/待寄送列表/待检测列表
#define recycling_gujia_api @"api/Reclaim_Information/ListAsync"

///钻石回收-卖家-二手商品列表,在售，已售，下架
#define recycling_sell_api @"api/Reclaim_Information_Goods/OwnListAsync"

/// 钻石回收-买家-我竞拍中的二手商品列表
#define recycling_jingpai_api @"api/Reclaim_Information_Goods/AuctionProgressAsync"

/// 钻石回收-买家-我购买的二手商品列表
#define recycling_myBuy_api @"api/Reclaim_Information_Goods/BuyerListAsync"

/// 钻石回收-商品详情
#define recycling_detail_api @"api/Reclaim_Information_Goods/InfoAsync"

/// 钻石回收-二手商品详情-出价
#define offerGoodsPrice_api @"api/Reclaim_Information_Goods/OfferAsync"
/// 钻石回收-二手商品详情-创建订单
#define recyclingCreateOrder_api @"api/Reclaim_Information_Goods/CreateOrderAsync"
/// 钻石回收-二手商品详情-获取支付信息
#define recyclingGetPayInfo_api @"api/Reclaim_Information_Goods/PayInfo"
/// 钻石回收-二手商品详情-支付
#define recyclingGoodsPay_api @"api/Reclaim_Information_Goods/PayCallBackAsync"

/// 获取专题活动列表
#define activityList_api @"api/Op_Activity/GetActivityListAsync"

///获取专题活动详情
#define activityDetailList_api @"api/Op_Activity/GetActivityDetailAsync"

/// 请求业务员信息
#define getRelationSalesmanInfo_api @"api/Relation/GetRelationSalesmanInfoByAccount"

/// 获取款式定制条件
#define getCustomCondition_api @"api/Style_Library_Customized/GetCustomizedConditionAsync"
/// 获取厂印
#define getFactoryPrint_api @"api/Style_Library_Customized/GetFactoryPrintAsync"

/// 查询购物车可镶嵌商品
#define queryShoppingCartInlay_api @"api/Wholesaler_ShoppingCart/GetInlayGoodsListByShoppingCarAsync"

/// 查询订单中可镶嵌商品
#define queryOrderInlay_api @"api/Od_Order/GetInlayGoodsListByOrderAsync"

// 裸石数据查询
//#ifdef DEBUG
//#define diamondDataSearchWholesaler_api @"http://106.14.115.8:8008/api/Dm_Diamonds/DiamondDataSearchWholesaler"
//#define getDiamondDetailData_api @"http://106.14.115.8:8008/api/Dm_Diamonds/DiamondDataSearchWholesaler"
////修改密码
//#define modifyPassword_api @"http://106.14.115.8:8008/api/User_Account/TTuoUpdateUserPwdByIdAsync"
////客户上线通知
//#define userOnlineNotify_api @"http://106.14.115.8:8008/api/Wl_Chat_Record/PostJsonSendMsgAsync"
////证书查询
//#define certQuery_api @"http://106.14.115.8:8008/api/Dm_Diamonds/GetCertInformationAsync"
//#else
#define diamondDataSearchWholesaler_api @"http://47.102.48.39:8001/api/Dm_Diamonds/DiamondDataSearchWholesaler"
#define getDiamondDetailData_api @"http://47.102.48.39:8001/api/Dm_Diamonds/DiamondDataSearchWholesaler"
///修改密码
#define modifyPassword_api @"http://47.102.48.39:8001/api/User_Account/TTuoUpdateUserPwdByIdAsync"
///客户上线通知
#define userOnlineNotify_api @"http://47.102.48.39:8001/api/Wl_Chat_Record/PostJsonSendMsgAsync"
///证书查询
#define certQuery_api @"http://47.102.48.39:8001/api/Dm_Diamonds/GetCertInformationAsync"
////#endif
//
//
//#define createFactoryGradeCache_api @"api/CreateData/CreateFactoryGradeCache"  // 创建工厂产品等级缓存


#endif /* ApiMacroFile_h */
